def city_function(chengshi,guojia,renkou=''):
    if renkou:
        chengshi_guojia=chengshi+'，'+guojia+' - '+renkou
    else:
        chengshi_guojia = chengshi + '，' + guojia
    return chengshi_guojia.title()

